package org.core.blog.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.core.blog.pojo.User;

@Mapper
public interface LoginMapper {

    @Select("select * from users where username=#{username} and password=#{password}")
    User selectByUsernameAndPassword(User user);
}
